package com.homestay.dao;

import com.homestay.beans.Home;

import java.util.List;

public interface HomeDao {
    int addHome(Home home);
    int deleteHome(int id);
    int updateHome(Home home);
    Home getHomeById(int id);
    List<Home> getAllHomes(String num);

    List<Home> getHomesByState(String state);

    int updateHomeState(int id, String state);
}
